import React from 'react'
import ReactDOM from 'react-dom'
class App extends React.Component {
  
  render () {
    return <h1>函数式组件,哈哈</h1>
  }
}

ReactDOM.render(
  <App />,
  document.querySelector('#root')
)